<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  mounted() {
    //按视口高度设置#app高度
    // document.getElementById('app').style.height= window.innerHeight + 'px'
  }
}
</script>

<style lang="stylus">
  #app
    position absolute
    background #101011
    height 100%
    width 100%
</style>
